﻿@{
    
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@model List<UcAsp.Models.Articles>
<div class="teach_title">@ViewBag.Title</div>
<div class="line"></div>
@foreach(UcAsp.Models.Articles a in Model)
{
    <div style="margin-top:20px;">
    <div class="teach_img">
        <img src="@a.IconUrl" width="230" />
    </div>
    <div class="teach_content">
        分类：@a.Categoriess.CategorieName<br >
       标题： @a.Title <br >
        @(new HtmlString(@a.Description))
        <div class="more"><a href="/ShowMessage/@a.ID">查看更多</a></div>
    </div>
        <div class="clear"></div>
    <div class="poitline"></div>
        
</div>
    
}
     <div class="pagination"> 
                      <a href="/Search/@ViewBag.Title/1/" title="First Page">&laquo; 第一页</a>
                     @for (int i = 1; i < int.Parse(ViewData["PageCount"].ToString())+1;i++ )
                     {
                       <a href="/Search/@ViewBag.Title/@i" class="number @if (ViewData["PageIndex"].ToString()==@i.ToString())
                                                 {<text>current</text>}" title="@i">@i</a>
                     }
                      <a href="/Search/@ViewBag.Title/@ViewData["PageCount"]" title="Last Page">最后一页 &raquo;</a> </div>
                  <!-- End .pagination -->
                  <div class="clear"></div>
</div>